/**
 * AJAX货币，以1美元为单位，换出所有货币跟1美元的比和反比，如1美元能换6.15人民币，
 * 则该值填在right边的人发币，1人民币能换0.163美元填在left的人民币
 * @return
 */
function ajax_money(){
	var money_left_num = $("#money_left_num").val();
	var money_unit_left = $("#money_unit_left").val();
	var money_uint_right = $("#money_uint_right").val();
	var data = money_left_num * (money_unit_left * money_uint_right);
	document.getElementById('money_right_num').innerHTML = data;
	document.getElementById('money_right_num_td').style.display = "";
}

/**
 * AJAX重量
 * @return
 */
function ajax_weight()
{
	var weight_left_num = $("#weight_left_num").val();
	var weight_unit_left = $("#weight_unit_left").val();
	var weight_uint_right = $("#weight_uint_right").val();
	var data = weight_left_num * (weight_unit_left * weight_uint_right);
	document.getElementById('weight_right_num').innerHTML = data;
	document.getElementById('weight_right_num_td').style.display = "";
}

/**
 * AJAX容积
 * @return
 */
function ajax_volume()
{
	var volume_left_num = $("#volume_left_num").val();
	var volume_unit_left = $("#volume_unit_left").val();
	var volume_uint_right = $("#volume_uint_right").val();
	var data = volume_left_num * (volume_unit_left * volume_uint_right);
	document.getElementById('volume_right_num').innerHTML = data;
	document.getElementById('volume_right_num_td').style.display = "";
}

/**
 * AJAX长度
 * @return
 */
function ajax_length()
{
	var length_left_num = $("#length_left_num").val();
	var length_unit_left = $("#length_unit_left").val();
	var length_uint_right = $("#length_uint_right").val();
	var data = length_left_num * (length_unit_left * length_uint_right);
	document.getElementById('length_right_num').innerHTML = data;
	document.getElementById('length_right_num_td').style.display = "";
}